package com.haierp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.ErpOrder;
import com.haierp.model.sale.OuterOrderDetail;

/**
 * 商品 数据控制层
 * @author zhulu
 *
 */
public interface OuterOrderDetailMapper extends AutoMapper<OuterOrderDetail>{

	void updateOuterOrderDetailByItemSku(@Param("erpOrderIdList")List<Long> erpOrderIdList);
	
	List<OuterOrderDetail> selectOuterOrderDetailByOuterOrderId(@Param("outerOrderId") Long outerOrderId);
	
	void updateUpcForOuterOrderDetail(ErpOrder erpOrder);
	
	void updateWeightForOuterOrderDetail(ErpOrder erpOrder);
}
